Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633459 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/117 - Palindrome Checker

index.js cody/swapnilsparsh/30DaysOfJavaScript/117 - Palindrome Checker/index.js
152 Views
0 Comments
function validatePalin() {

string = document.getElementById("text").value;

// to obtain total length of the word or sentence
const len = string.length;

// to remove spaces from the accepted string, if there is any
style.css cody/swapnilsparsh/30DaysOfJavaScript/117 - Palindrome Checker/style.css
89 Views
0 Comments
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
display: flex;
index.html cody/swapnilsparsh/30DaysOfJavaScript/117 - Palindrome Checker/index.html
278 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Palindrome Checker</title>
<link rel="stylesheet" href="style.css">